package com.ht.medicaltreatment.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.ht.medicaltreatment.R
import com.ht.medicaltreatment.bean.UserInfoData

class UserInfoAdapter:BaseQuickAdapter<UserInfoData,BaseViewHolder>(R.layout.item_user_layout) {
    override fun convert(holder: BaseViewHolder, item: UserInfoData) {
        holder.setText(R.id.tvName,item.name)
    }
}
